<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>按钮</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/element-ui/2.14.1/theme-chalk/index.min.css" rel="stylesheet">
</head>
<body>
<div id="app">
    <el-row>
        <el-button>默认按钮</el-button>
        <el-button type="primary">主要按钮</el-button>
        <el-button type="success">成功按钮</el-button>
        <el-button type="info">信息按钮</el-button>
        <el-button type="warning">警告按钮</el-button>
        <el-button type="danger">危险按钮</el-button>
    </el-row>
    <hr>
    <el-row>
        <el-button plain>朴素按钮</el-button>
        <el-button type="primary" plain>主要按钮</el-button>
        <el-button type="success" plain>成功按钮</el-button>
        <el-button type="info" plain>信息按钮</el-button>
        <el-button type="warning" plain>警告按钮</el-button>
        <el-button type="danger" plain disabled="false">危险按钮</el-button>
    </el-row>
    <hr>
    <el-row>
        <el-button round>圆角按钮</el-button>
        <el-button type="primary" round>主要按钮</el-button>
        <el-button type="success" round>成功按钮</el-button>
        <el-button type="info" round disabled="true">信息按钮</el-button>
        <el-button type="warning" round disabled>警告按钮</el-button>
        <el-button type="danger" round>危险按钮</el-button>
    </el-row>
    <hr>
    <el-row>
        <el-button type="text">文字按钮</el-button>
        <el-button type="text" disabled>文字按钮禁用</el-button>
    </el-row>
    <hr>
    <el-row>
        <el-button type="primary" icon="el-icon-search">搜索</el-button>
        <el-button type="success" icon="el-icon-plus">加</el-button>
        <el-button type="primary">上传图标在右<i class="el-icon-upload el-icon--right"></i></el-button>
    </el-row>
    <hr>
    <el-button-group>
        <el-button type="primary" icon="el-icon-arrow-left">上一页</el-button>
        <el-button type="primary">下一页<i class="el-icon-arrow-right el-icon--right"></i></el-button>
    </el-button-group>
    <hr>
    <el-button-group>
        <el-button type="primary" icon="el-icon-edit"></el-button>
        <el-button type="primary" icon="el-icon-search"></el-button>
        <el-button type="primary" icon="el-icon-share"></el-button>
    </el-button-group>
    <hr>
    <el-button type="primary" :loading="isLoad">加载中</el-button>
    <hr>
    <el-row>
        <el-button>默认尺寸</el-button>
        <el-button size="medium">中等尺寸</el-button>
        <el-button size="small">小尺寸</el-button>
        <el-button size="mini">超小尺寸</el-button>
    </el-row>
</div>

<script src="https://cdn.jsdelivr.net/npm/vue@2.6.12"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/element-ui/2.14.1/index.min.js"></script>
<script>
    new Vue({
        el: '#app',
        data() {
            return {
                isLoad: true
            }
        },
        mounted() {
            const that = this;
            setTimeout(() => {
                that.isLoad = false
            },3000)
        }
    })
</script>
</body>
</html>